package com.company;


import java.util.Calendar;
import java.util.Date;

public class Main {

    public static void main(String[] args) {
//        Calendar c = Calendar.getInstance();
//        c.setTime(new Date());
//        c.add(2, -2);
//        System.out.println(c.getTime());
        System.out.println("20180122".compareTo("20180102"));
    }
}
